package org.arroganz.kapa.core;

import org.arroganz.kapa.framework.FrameMain;
import org.arroganz.kapa.interfaces.IGraphicEngine;

public class GraphicEngineKapa implements IGraphicEngine{
	
	// Classes
	
			//FrameWork
			private FrameMain frameMain;
	
	private boolean isRunning = false;
	
	@Override
	public void startGraphicEngine() {
		this.isRunning = true;
		System.out.println(" GraphicEngine is started ");
		buildFrameWork(); // multiThreading Grafik and CoreStuff
	}

	@Override
	public void stopGraphicEngine() {
		System.out.println(" GraphicEngine has stopped ");
		isRunning = false;
	}

	@Override
	public boolean isRunning() {
		return isRunning;
	}
	
	private void buildFrameWork(){
		frameMain = new FrameMain();
	}
	
	private void destroyFrameWork(){
		
	}

}
